package com.party.poster.element;


import com.party.poster.AbstractPoster;
import com.party.poster.entity.Position;
import com.party.poster.entity.Size;
import com.party.poster.enums.EnumShape;

import java.awt.image.BufferedImage;

public class Img extends AbstractPoster {

    private BufferedImage image;

    private EnumShape shape;

    public Img(int w, int h, int x, int y, BufferedImage image, EnumShape shape){
        this.size = new Size(w,h);
        this.position = new Position(x,y);
        this.image = image;
        this.shape = shape;
    }

    public BufferedImage getImage() {
        return image;
    }

    public EnumShape getShape() {
        return shape;
    }
}
